package com.zto.sch.service;

import com.zto.sch.dao.CardDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

/**
 * @program: javatest
 * @description:
 * @author: sch
 * @create: 2020-09-16 20:51
 **/
@Service("cardService")
public class CardServiceImpl implements CardService {
    @Autowired
    @Qualifier("cardDao")
    private CardDao cardDao;

    @Override
    public void query() {
        System.out.println("service query...");
        cardDao.query();
    }
}
